<template>
  <div class="main">
    <nav-bar class="home-nav">
      <div slot="left" @click="goBack"><van-icon name="arrow-left" /></div>
      <div slot="center">出库</div>
    </nav-bar>

    <item-view></item-view>
    <record-view>
      <span>出库记录</span>
    </record-view>

    <div class="add_btn"><van-button type="primary" color="#1692f2" block>我要出库</van-button></div>
  </div>
</template>

<script>
  import NavBar from "@/components/common/navbar/NavBar";
  import ItemView from "@/components/content/ItemView";
  import recordView from "./childComps/recordView";

    export default {
        name: "outView",
      components:{
        NavBar,
        ItemView,
        recordView
      },

      methods: {
        goBack(){
          this.$router.go(-1);
        },
      }
    }
</script>

<style scoped>

</style>
